package com.wwx.worldonwheels.mapper;

import com.wwx.worldonwheels.domain.WwxDiscount;
import com.wwx.worldonwheels.domain.WwxDiscountExample;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
@Mapper
public interface WwxDiscountMapper {
    long countByExample(WwxDiscountExample example);

    int deleteByExample(WwxDiscountExample example);

    int deleteByPrimaryKey(String disCode);

    int insert(WwxDiscount record);

    int insertSelective(WwxDiscount record);

    List<WwxDiscount> selectByExample(WwxDiscountExample example);

    WwxDiscount selectByPrimaryKey(String disCode);

    int updateByExampleSelective(@Param("record") WwxDiscount record, @Param("example") WwxDiscountExample example);

    int updateByExample(@Param("record") WwxDiscount record, @Param("example") WwxDiscountExample example);

    int updateByPrimaryKeySelective(WwxDiscount record);

    int updateByPrimaryKey(WwxDiscount record);
}